<template>
  <div id="app">
    <Header></Header>
    <!-- 路由占位-->
    <router-view></router-view>
<!--    <Footer v-show="$route.path=='/' ||$route.path=='/search'"></Footer>-->
    <Footer v-show="$route.meta.show"></Footer>
  </div>
</template>

<script>
import Header from './components/Header/index.vue';
import Footer from './components/Footer';

export default {
  name: 'App',
  components: {
    Header,
    Footer,
  }
}
</script>

<style>
</style>
